package org.example.exp3.exam6;

public class SecurityDoorObserver implements AlarmListener {
   public SecurityDoor securityDoor = new SecurityDoor();
   
   public void alarm() {
      securityDoor.open();
   }
}